package it.polimi.traveldream.utils.exceptions;

public class NotAvailableException extends Exception{
	private static final long serialVersionUID = 8516773687000951245L;
	private int maxAvailability;

	public NotAvailableException(int maxAvailability) {
		super();
		this.maxAvailability = maxAvailability;
	}
	
	public NotAvailableException() {
		super();
	}

	public int getMaxAvailability() {
		return maxAvailability;
	}
	
}
